package com.controller.common;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.controller.reqdto.report.PcReportParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.repository.po.PcReportedData;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
public class PcReported {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer pcId;

    private String pcName;


    /**
     * pc上报数据
     */
    private PcReportParam pcReportMsg;

    /**
     * pc唯一键
     */
    private String pcUniqueKey;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}